package com.lenovo.lcdm.access.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName access_policy
 */
@TableName(value ="access_policy")
@Data
public class AccessPolicy implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long menuId;

    @TableField(exist = false)
    private String menuName;

    /**
     * 
     */
    private Long roleId;

    @TableField(exist = false)
    private String roleName;

    /**
     * read/edit
     */
    private String policy;

    /**
     * 
     */
    private String creator;

    /**
     * 
     */
    private String modifier;

    /**
     * 
     */
    private LocalDateTime createTime;

    /**
     * 
     */
    private LocalDateTime modifyTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}